package indi.zhifa.learn.jenkins.helloworld2.web.entity.request;

import com.alibaba.fastjson.annotation.JSONField;
import indi.zhifa.learn.jenkins.helloworld2.web.entity.enums.EValueType;
import lombok.Data;
import org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlineItem;

@Data
public class DocKeySetItem {
    String key;
    String regexPrefix;
    String regexSuffix;
    EValueType valueType;
    int times;

    public DocKeySetItem(){
        valueType = EValueType.STRING;
        times = 1;
    }

    public String purposeDesc(){
        return regexPrefix+"${"+key+"}"+regexSuffix+":"+times;
    }
}
